added pay command. for #195