fast function classes