Fix typo
Implement create function for magnets