added comments and possibilities for additional functionality