refactored and renamed position view