Constructor finished

finished constructor