started coding from paperCode