splitFrontBack working