also adding to instance function