made class and constructor public (so it can be used from outside the
package)