Worked on specifitations for function check.