working on card layout