Shortening code sample so it fits on a single line to avoid problems in class