got some functionality working.