beginn wrapping php native functions