added pintests and interface class