added bottom functionality back