devide enteties into back and front