Basically working, logic is wrong way round
Ignore packages