Moved variable initialization due to performance reasons