How to handle with rejections