clean up duplicate code, same functions now for 'ok', colors and numbers