added method to get position by network