changed function name for better meaning