using function as a variable could cause really strange errors