added the method section