changes in phase 2
added log in line capacity