most cmd working. needs testing