Tested resting contact method and added some bugfixes