added constructor