changed name and added nested class