added to Right/Left function