added basic funtions, added depends.