Rough version, works.