creating init method