added constructor example