used simpler form of using directive