modified 0.5 and added config