Use correct type on declaration