Attempt to write a class