add valid position assertion