implemented flot