get basic functionality working