Fixed check-within so it works correctly. Removed return values. Improved documentation