Added pos check