Fixed bug in readFunction. Initialization completed