resolving error 1