added tasks method, specs passed