finished logic for testing; before skype commit