update lab1
add init method for bw compability w v2