implementing gretty starter