Started to add print function