implemented callback method, updated readme