added attr, edited get, and created append functions.