remove debug statements
add references
change bibliography style