bug fix and added lanterna