Added Logic Class