some functions finished
more functions done