intial method working