added validation to check for presence of karma