added more funtions