ported to purple interface, works now with finch