Added . and removed if