changed type from Int to Long