added quote controller logic
finally got interval