minor modifications and added tmp.launch