updated init and added rc