Before implementing session
hw2 almost finished