added option to have relative position