added single argument functionality