moved application of composition operator from backend to frontend