use exists instead of get