added some type to greencard