Program runs smoothly but does not complete, need add access method