proto thing a mess, using a complete hack right now