library added. Some logic appeared