added geters for right and left edges