adjusting to relative positioning