ordering stuff to make it work