Initial attempt at making process transitions work