getting initial methods and debugging with example