partially realized

add some methods to the program