writting little wrapper