move comment to before function