added method calls and break statements