Basic implementation of function args