Solved issues 1,2,4,5