added small framework