custom style and add result instead of alert