implement resize service