writeup
modifications for compatibility