references sorted
last fixes and final rendering