Initial implementation of global states