Add function left and right