Added some functions, but faced some problems(