Worked on commands and promises.