commented and added better info apending