added init. good coding practices tocome