added more detail to the method section