add gauard testing