added sequel
rewrite with sequel