Edited based on Frank Y.'s comment