What is the purpose of constructor