added constructor which takes default value