removed declare method