Have most functions in place but timing is major problem.