fixed a force close and added comments.