all func tests passing