better implementation of Fast Class