creating init method - to re-initialize if needed