started coding run method