adding required gems removing deprecated methods