rough implementation of the wrapping of the existing commands..
better type for int..