updating
fixed error
updated main