fixed source to align with coding guidelines