Fixed the terrace method!