Refactor pragma mark