working with github version and added casual def