first try at writing without testing