add a few more methods to structure