Some first parts of the program are done.
Todo: it looks like the store_current method throws some error.