Added pos calculations