Added lib from smoocha