finish all functions for exp 1,2