Removed unused variable and added icon