working on calling fragment methods