closes #91, credits go to @jpfr