library of functions for talking to the LK204