cleaning up __repr__, changing terrace function