updated packages
used short fn notation