added top_x feature