Commented out parts of ui that are no longer needed.