minor updates
changed constructor