added warnings .. (more improvements later, need to read docs)