changed title and labels; added functionality