fixed error and added css for results