added ball polimorphic behaviour