added option 6 - still not working properly but compiles ok. all other functions are working