Used GreenButton class to remove some code