initial implementation of mist