Writing a replacement for Arg module