Added explicit type declarations. Need to figure out what should be passed