updated for ruby, javascript, and java