Removed localStorage checking