added libs and changed hdType