Fixed getWeight this time