added clearResults function and gradient background