removed uneeded line of code preparing ot separate some code