ready snippet