added command to viewmodel