implementation of argv evaluation