implemented starting case for constructor