Partly done C-inteface for hourglass design