added some more funtions