Add beginner calc code