added some code from today - more to come