Replaced inline class with Position