apply func is considered redundant