Added print Position function