refactored, added optimization and admin
improved optimization, modified function names
improved debut styles