add make-frame functions

add make-frame functions