add two primitive function used for testing