added init res