Added Type declarations for certain variables