began to add real functionality