finaly class