functunality done, checks missing