problem with Ability class