removed print generic, changed to toString