Moving float generator for a separate func