added delete funtion and added css