First steps towards dependancy checking