customize for appgen