some code for working with krissys data