implement magnetic ball