2nd Commit for transferring Cap.java