Fixing a silly mistake - wrong class