a small step into the world of functional programming language !!